package com.jic.manager.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.MerchantWeBank;
import com.jic.manager.entity.SysRole;
import com.jic.manager.request.MerchantWeBankRequest;
import com.jic.manager.request.SysRoleRequest;

import java.util.List;

/**
* 商户表
* @author : 
* @email : 
* @since : 2020-11-23 05:13:23
* @version : v1.0.0
*/
public interface MerchantWeBankService {

    long insert(MerchantWeBank merchantWeBank);

    long delete(Long id);

    long update(MerchantWeBank merchantWeBank);

    MerchantWeBank queryByPrimaryKey(Long id);

    List<MerchantWeBank> query(MerchantWeBank merchantWeBank);

    PageResult<MerchantWeBank> queryPage(MerchantWeBankRequest request, Page pageQuery);

    Boolean editMerchantInfo(MerchantWeBankRequest merchantWeBankRequest);

    Long addMerchantInfo(MerchantWeBankRequest merchantWeBankRequest);

    Boolean submitReview(MerchantWeBankRequest request);

    Boolean merchantReview(MerchantWeBankRequest request);

    Boolean revokeReview(MerchantWeBankRequest request);

    Boolean batchSubmitReview(MerchantWeBankRequest request);

    Boolean batchMerchantReview(MerchantWeBankRequest request);


}